﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_ICM_DeliveryNote
    {
        private int ICM_DN_SEQ;
        private Nullable<int> ICM_PO_SEQ;
        private Nullable<int> ICM_PO_INSTAL_SEQ;
        private string ICM_DN_REF_NO;
        private string ICM_DN_NAME;
        private string ICM_DN_DESCR;
        private Nullable<DateTime> RECEIVE_DATE;
        private string INVOICE_NUMBER;
        private Nullable<DateTime> INVOICE_DATE;
        private Nullable<double> REDEMPTION_AMOUNT;
        private Nullable<double> DEDUCTION_AMOUNT;
        private Nullable<int> YEAR_TYPE_SEQ;
        private Nullable<int> BGM_YEAR;

        private string RECORD_STATUS;

        public M_ICM_DeliveryNote()
        {

        }

        public M_ICM_DeliveryNote(
            int ICM_DN_SEQ
            , Nullable<int> ICM_PO_SEQ
            , Nullable<int> ICM_PO_INSTAL_SEQ
            , string ICM_DN_REF_NO
            , string ICM_DN_NAME
            , string ICM_DN_DESCR
            , Nullable<DateTime> RECEIVE_DATE
            , string INVOICE_NUMBER
            , Nullable<DateTime> INVOICE_DATE
            , Nullable<double> REDEMPTION_AMOUNT
            , Nullable<double> DEDUCTION_AMOUNT
            , Nullable<int> YEAR_TYPE_SEQ
            , Nullable<int> BGM_YEAR

            , string RECORD_STATUS)
        {
            this.ICM_DN_SEQ = ICM_DN_SEQ;
            this.ICM_PO_SEQ = ICM_PO_SEQ;
            this.ICM_PO_INSTAL_SEQ = ICM_PO_INSTAL_SEQ;
            this.ICM_DN_REF_NO = ICM_DN_REF_NO;
            this.ICM_DN_NAME = ICM_DN_NAME;
            this.ICM_DN_DESCR = ICM_DN_DESCR;
            this.RECEIVE_DATE = RECEIVE_DATE;
            this.INVOICE_NUMBER = INVOICE_NUMBER;
            this.INVOICE_DATE = INVOICE_DATE;
            this.REDEMPTION_AMOUNT = REDEMPTION_AMOUNT;
            this.DEDUCTION_AMOUNT = DEDUCTION_AMOUNT;
            this.YEAR_TYPE_SEQ = YEAR_TYPE_SEQ;
            this.BGM_YEAR = BGM_YEAR;
            this.RECORD_STATUS = RECORD_STATUS;
        }

        public int icm_dn_seq
        {
            set { ICM_DN_SEQ = value; }
            get { return ICM_DN_SEQ; }
        }

        public Nullable<int> icm_po_seq
        {
            set { ICM_PO_SEQ = value; }
            get { return ICM_PO_SEQ; }
        }

        public Nullable<int> icm_po_instal_seq
        {
            set { ICM_PO_INSTAL_SEQ = value; }
            get { return ICM_PO_INSTAL_SEQ; }
        }

        public string icm_dn_ref_no
        {
            set { ICM_DN_REF_NO = value; }
            get { return ICM_DN_REF_NO; }
        }

        public string icm_dn_name
        {
            set { ICM_DN_NAME = value; }
            get { return ICM_DN_NAME; }
        }

        public string icm_dn_descr
        {
            set { ICM_DN_DESCR = value; }
            get { return ICM_DN_DESCR; }
        }

        public Nullable<DateTime> receive_date
        {
            set { RECEIVE_DATE = value; }
            get { return RECEIVE_DATE; }
        }

        public string invoice_number
        {
            set { INVOICE_NUMBER = value; }
            get { return INVOICE_NUMBER; }
        }

        public Nullable<DateTime> invoice_date
        {
            set { INVOICE_DATE = value; }
            get { return INVOICE_DATE; }
        }

        public Nullable<double> redemption_amount
        {
            set { REDEMPTION_AMOUNT = value; }
            get { return REDEMPTION_AMOUNT; }
        }

        public Nullable<double> deduction_amount
        {
            set { DEDUCTION_AMOUNT = value; }
            get { return DEDUCTION_AMOUNT; }
        }

        public Nullable<int> year_type_seq
        {
            set { YEAR_TYPE_SEQ = value; }
            get { return YEAR_TYPE_SEQ; }
        }

        public Nullable<int> bgm_year
        {
            set { BGM_YEAR = value; }
            get { return BGM_YEAR; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }
    }
}
